import React, { Component, PropTypes } from 'react'


class Info extends Component {
	 constructor(props) {
		super(props);
		this.state = {
			info:""
		};
	}
	componentDidMount() {
		var _this=this;
		var id=this.props.params.id;
       apiInfo({path: '/v1/goods/'+this.props.params.id+'/detail', method: 'get',params:{id:id}}).then((data) => {
          _this.refs.info.innerHTML=data.picTxtDetail;

        })
  	}
	render() {
		return (
			<div id="Info" className="hasstyle" ref="info">
			</div>
		)
	}
}

export default Info